package cn.tedu.property_management_system.service;

import cn.tedu.property_management_system.entity.DTO.ComplaintAddNewDTO;
import cn.tedu.property_management_system.entity.DTO.RepairAddNewDTO;
import cn.tedu.property_management_system.entity.RepairType;
import cn.tedu.property_management_system.entity.VO.RepairVO;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface IRepairService {

    PageInfo<RepairVO> loadRepair(Integer pageNum, Integer PageSize);

    List<RepairType> loadRepairType();

    void deleteRepair(Integer... ids);

    void handleRepair(Integer id);

    List<RepairVO> screenRepair(Integer repId,Integer status);

    void insert(RepairAddNewDTO repairAddNewDTO);

    List<RepairVO> loadPersonalRepair();

    void initCache();
}
